<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/5/10
  Time: 15:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/webbase.css"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/pages-login-manage.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrapgst.css"/>
</head>
<body>
<div class="loginmanage">
    <div class="py-container">
        <h4 class="manage-title">欢迎来到云借阅图书管理系统</h4>
        <div class="loginform">
            <ul class="sui-nav nav-tabs tab-wraped">
                <li class="active">
                    <h3>用户注册界面</h3>
                </li>
            </ul>
            <div class="tab-content tab-wraped">
                <div id="profile" class="tab-pane  active">
                    <form id="loginform" class="sui-form" action="${pageContext.request.contextPath}/user/registration"
                          method="post">
                        <div class="input-group mb-3">
                            <div class="input-prepend">
                                <input type="text"style="width:240px;height:40px;"placeholder="用户名" class="span2 input-xfat" name="name">
                            </div>
                            <span class="input-group-text"style="height:40px;width: 60px" id="basic-addon1">用户名</span>
                        </div>


                        <div class="input-group mb-3">
                            <div class="input-prepend">
                                <input type="text"style="width:240px;height:40px;"placeholder="用户邮箱" class="span2 input-xfat" name="email">
                            </div>
                            <span class="input-group-text"style="height:40px;width: 60px" id="basic-addon2">用户邮箱</span>
                        </div>

                        <div class="input-group mb-3">
                            <div class="input-prepend">
                                <input type="password" style="width:240px;height:40px;"placeholder="请输入密码" class="span2 input-xfat" name="password">
                            </div>
                            <span class="input-group-text" style="height:40px;width: 60px"id="basic-addon3">密码</span>
                        </div>


                        <div class="input-group mb-3">
                            <div class="input-prepend">
                                <input type="password" style="width:240px;height:40px;"placeholder="请输入密码" class="span2 input-xfat" name="password1">
                            </div>
                            <span class="input-group-text" style="height:40px;width: 60px"id="basic-addon4">确认密码</span>
                        </div>


                        <div class="input-group">
                            <label class="radio-inline">
                                <input type="radio" name="role" value="ADMIN"  id="inlineRadio1" value="adminstrators" class="radio-inline"checked="checked">管理员
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="role"  value="USER"  id="inlineRadio3" value="students" class="radio-inline" >普通用户
                            </label>
                        </div></br>



                        <button type="submit"style="width:300px;height:30px;" class="btn btn-success " name="submit">注册</button><br/><br/>
                        <button class="btn btn-primary" style="width:300px;height:30px;"type="button"onclick="window.location='./login.jsp'">返回首页</button>

                    </form>

                </div>
            </div>
        </div>
    </div>
</div>
</div>

</body>
</html>
